package thirdpart.hq;

import lombok.Builder;
import thirdpart.order.OrderStatus;

import java.io.Serializable;

/**
 * @Author: Tzu
 * @Date: 2020/12/14 21:13
 * @Version: 1.0
 * @Description: 在总线上进行发布的数据模板类（给其他订阅总线的服务看的）
 */
@Builder
public class MatchData implements Serializable {

    public long timestamp;

    public short mid;

    public long oid;

    public OrderStatus status;

    public long tid;

    //撤单数量 成交数量
    public long volume;

    public long price;

}
